package com.nowadays.mobile.mvp.presenter;

public interface MainPresenter extends ViewPresenter {
  //初始化声音资源
  void initVoice();

  //播放tick声音
  void playTickSound();

  //暂停tick声音
  void pauseTickSound();

  //播放alarm声音
  void playAlarmSound(boolean isFinish);

  int getRestTime();

  int getFocusTime();

  //振动
  void showVibrate();

  //switchFocus
  void switchFocus();

  //更新状态
  void updateFocusState(byte newState);

  //重置已专注的次数
  void resetFocusTimes();

  void onFocusOrRestEnd();

  //显示通知
  void resumeNotification();

  //取消通知
  void cancelNotification();

  //get focus state
  byte getFocusState();
}
